//
//  Convenience.h
//  NBTripe
//
//  Created by Lee on 16/1/11.
//  Copyright © 2016年 Vicki. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "CoreDataManager.h"
@interface Convenience : NSObject

//@property (nonatomic, strong) CoreDataManager *manager;

+ (void)createLabel:(UILabel *)label WithFrame:(CGRect )frame FrameWithTextColor:(UIColor *)textcolor TextColorWithFont:(UIFont *)font FontWithNSTextAlignment:(NSTextAlignment)textalignment TextAlignmentWithNumberOfLines:(NSInteger)NumberOfLines WithText:(NSString *)text;

+ (void)createCellLabel:(UILabel *)label LabelWithTextColor:(UIColor *)textcolor TextColorWithFont:(UIFont *)font FontWithNSTextAlignment:(NSTextAlignment)textalignment TextAlignmentWithNumberOfLines:(NSInteger)NumberOfLines;

+ (void)createCirCleImageView:(UIImageView *)imageview WithFrame:(CGRect )frame WithCorNerRadius:(NSInteger )radius;
//Coredata查询
+ (NSArray *)selectLocalCoreDataWithManager:(CoreDataManager *)manager;
//按条件查询
+ (NSString *)selectIdentifierWithManager:(CoreDataManager *)manager managerWithStr:(NSString *)str;
//按条件返回
+ (NSArray *)selectLocalCorearr:(CoreDataManager *)manager managerWithstr:(NSString *)str;

@end
